﻿using System;


namespace XOAuthServer
{
	public static class Helper
	{
		internal static string PemFolder()
		{
			var folder = System.Configuration.ConfigurationManager.AppSettings["PemFolder"] ?? "C:/XOAuth/pem/";
			if (!System.IO.Directory.Exists(folder))
			{
				System.IO.Directory.CreateDirectory(folder);
			}
			return folder;
		}
	}
}